public class chapter4_3_3{
    public static void main(String[] args){
        int[] a = {1,7,9,11,13,15,17,19};
        int[] b = {2,4,6,8,10};
        int[] c = new int[20];
        int i = 0;
        int j = 0;
        while(i < 8)
        {
            c[i] = a[i];
            i = i + 1;
        }
        //i==8
        while(j < 5)
        {
            c[i + j] = b[j];
            j = j + 1;
        }
        //j==5
        //依次输出b数组中的元素
        int k = 0;
        while(k < i + j)
        {
            System.out.println(c[k]);
            k = k + 1;
        }
    }
}